home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / XCMDS&XFCNS / Play QuicKeys 2 XCMD / Play QuicKeys 2 XCMD / cards.xml < prev    next >
Text File  |  1994-05-01  |  18KB  |  488 lines

  1. card_3052.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>3052</id>
  6.     <filler1>0</filler1>
  7.     <bitmap>BMAP_3239.pbm</bitmap>
  8.     <cantDelete> <true /> </cantDelete>
  9.     <showPict> <true /> </showPict>
  10.     <dontSearch> <false /> </dontSearch>
  11.     <owner>2766</owner>
  12.     <link rel="stylesheet" type="text/css" href="stylesheet_3574.css" />
  13.     <part>
  14.         <id>4</id>
  15.         <type>button</type>
  16.         <visible> <true /> </visible>
  17.         <reserved5> 0 </reserved5>
  18.         <reserved4> 0 </reserved4>
  19.         <reserved3> 0 </reserved3>
  20.         <reserved2> 0 </reserved2>
  21.         <reserved1> 0 </reserved1>
  22.         <enabled> <true /> </enabled>
  23.         <rect>
  24.             <left>51</left>
  25.             <top>300</top>
  26.             <right>83</right>
  27.             <bottom>331</bottom>
  28.         </rect>
  29.         <style>transparent</style>
  30.         <showName> <false /> </showName>
  31.         <highlight> <false /> </highlight>
  32.         <autoHighlight> <false /> </autoHighlight>
  33.         <sharedHighlight> <true /> </sharedHighlight>
  34.         <family>0</family>
  35.         <titleWidth>0</titleWidth>
  36.         <icon>0</icon>
  37.         <textAlign>center</textAlign>
  38.         <font>Chicago</font>
  39.         <textSize>12</textSize>
  40.         <textStyle>plain</textStyle>
  41.         <name>QuickPanel</name>
  42.         <script>on mouseUpPlayQuicKey "QuickPanel"put the result into itif (first char of it = "-") and (second char of it = "1") thenPlayQuicKey "QuicKeys 2"put the result into itif (first char of it = "-") and (second char of it = "1") thenput "Could not find Quick Panel QuicKey - Check Name" into itend ifcheckerror itend ifend mouseUp</script>
  43.     </part>
  44.     <part>
  45.         <id>5</id>
  46.         <type>button</type>
  47.         <visible> <true /> </visible>
  48.         <reserved5> 0 </reserved5>
  49.         <reserved4> 0 </reserved4>
  50.         <reserved3> 0 </reserved3>
  51.         <reserved2> 0 </reserved2>
  52.         <reserved1> 0 </reserved1>
  53.         <enabled> <true /> </enabled>
  54.         <rect>
  55.             <left>37</left>
  56.             <top>202</top>
  57.             <right>152</right>
  58.             <bottom>224</bottom>
  59.         </rect>
  60.         <style>shadow</style>
  61.         <showName> <true /> </showName>
  62.         <highlight> <false /> </highlight>
  63.         <autoHighlight> <false /> </autoHighlight>
  64.         <sharedHighlight> <true /> </sharedHighlight>
  65.         <family>0</family>
  66.         <titleWidth>0</titleWidth>
  67.         <icon>0</icon>
  68.         <textAlign>center</textAlign>
  69.         <font>Chicago</font>
  70.         <textSize>12</textSize>
  71.         <textStyle>plain</textStyle>
  72.         <name>Syntax</name>
  73.         <script>on mouseuplock screenset scroll of card field "Syntax" to 0hide card field "Example Script"hide card button "Run Example"hide card field "Error Checking"hide card button "Run Error"show card field "Syntax"lock screenend mouseup</script>
  74.     </part>
  75.     <part>
  76.         <id>7</id>
  77.         <type>button</type>
  78.         <visible> <true /> </visible>
  79.         <reserved5> 0 </reserved5>
  80.         <reserved4> 0 </reserved4>
  81.         <reserved3> 0 </reserved3>
  82.         <reserved2> 0 </reserved2>
  83.         <reserved1> 0 </reserved1>
  84.         <enabled> <true /> </enabled>
  85.         <rect>
  86.             <left>37</left>
  87.             <top>226</top>
  88.             <right>152</right>
  89.             <bottom>248</bottom>
  90.         </rect>
  91.         <style>shadow</style>
  92.         <showName> <true /> </showName>
  93.         <highlight> <false /> </highlight>
  94.         <autoHighlight> <false /> </autoHighlight>
  95.         <sharedHighlight> <true /> </sharedHighlight>
  96.         <family>0</family>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>center</textAlign>
  100.         <font>Chicago</font>
  101.         <textSize>12</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <name>Example Script</name>
  104.         <script>on mouseuplock screenhide card field "Syntax"hide card field "Error Checking"hide card button "Run Error"show card field "Example Script"show card button "Run Example"lock screenend mouseup</script>
  105.     </part>
  106.     <part>
  107.         <id>8</id>
  108.         <type>field</type>
  109.         <visible> <true /> </visible>
  110.         <dontWrap> <false /> </dontWrap>
  111.         <dontSearch> <false /> </dontSearch>
  112.         <sharedText> <false /> </sharedText>
  113.         <fixedLineHeight> <true /> </fixedLineHeight>
  114.         <autoTab> <false /> </autoTab>
  115.         <lockText> <true /> </lockText>
  116.         <rect>
  117.             <left>200</left>
  118.             <top>90</top>
  119.             <right>501</right>
  120.             <bottom>272</bottom>
  121.         </rect>
  122.         <style>scrolling</style>
  123.         <autoSelect> <false /> </autoSelect>
  124.         <showLines> <false /> </showLines>
  125.         <wideMargins> <false /> </wideMargins>
  126.         <multipleLines> <false /> </multipleLines>
  127.         <reservedFamily> 0 </reservedFamily>
  128.         <titleWidth>0</titleWidth>
  129.         <icon>0</icon>
  130.         <textAlign>left</textAlign>
  131.         <font>Geneva</font>
  132.         <textSize>9</textSize>
  133.         <textStyle>plain</textStyle>
  134.         <textHeight>12</textHeight>
  135.         <name>Info.</name>
  136.         <script></script>
  137.     </part>
  138.     <part>
  139.         <id>9</id>
  140.         <type>field</type>
  141.         <visible> <false /> </visible>
  142.         <dontWrap> <false /> </dontWrap>
  143.         <dontSearch> <false /> </dontSearch>
  144.         <sharedText> <false /> </sharedText>
  145.         <fixedLineHeight> <true /> </fixedLineHeight>
  146.         <autoTab> <false /> </autoTab>
  147.         <lockText> <true /> </lockText>
  148.         <rect>
  149.             <left>200</left>
  150.             <top>90</top>
  151.             <right>501</right>
  152.             <bottom>272</bottom>
  153.         </rect>
  154.         <style>scrolling</style>
  155.         <autoSelect> <false /> </autoSelect>
  156.         <showLines> <false /> </showLines>
  157.         <wideMargins> <false /> </wideMargins>
  158.         <multipleLines> <false /> </multipleLines>
  159.         <reservedFamily> 0 </reservedFamily>
  160.         <titleWidth>0</titleWidth>
  161.         <icon>0</icon>
  162.         <textAlign>left</textAlign>
  163.         <font>Geneva</font>
  164.         <textSize>9</textSize>
  165.         <textStyle>plain</textStyle>
  166.         <textHeight>12</textHeight>
  167.         <name>Syntax</name>
  168.         <script>on mouseuplock screenhide meunlock screenend mouseup</script>
  169.     </part>
  170.     <part>
  171.         <id>11</id>
  172.         <type>field</type>
  173.         <visible> <false /> </visible>
  174.         <dontWrap> <false /> </dontWrap>
  175.         <dontSearch> <false /> </dontSearch>
  176.         <sharedText> <false /> </sharedText>
  177.         <fixedLineHeight> <true /> </fixedLineHeight>
  178.         <autoTab> <false /> </autoTab>
  179.         <lockText> <true /> </lockText>
  180.         <rect>
  181.             <left>200</left>
  182.             <top>90</top>
  183.             <right>501</right>
  184.             <bottom>272</bottom>
  185.         </rect>
  186.         <style>scrolling</style>
  187.         <autoSelect> <false /> </autoSelect>
  188.         <showLines> <false /> </showLines>
  189.         <wideMargins> <false /> </wideMargins>
  190.         <multipleLines> <false /> </multipleLines>
  191.         <reservedFamily> 0 </reservedFamily>
  192.         <titleWidth>0</titleWidth>
  193.         <icon>0</icon>
  194.         <textAlign>left</textAlign>
  195.         <font>Geneva</font>
  196.         <textSize>9</textSize>
  197.         <textStyle>plain</textStyle>
  198.         <textHeight>12</textHeight>
  199.         <name>Example Script</name>
  200.         <script>on mouseuplock screenhide mehide card button "Run Example"unlock screenend mouseup</script>
  201.     </part>
  202.     <part>
  203.         <id>12</id>
  204.         <type>button</type>
  205.         <visible> <false /> </visible>
  206.         <reserved5> 0 </reserved5>
  207.         <reserved4> 0 </reserved4>
  208.         <reserved3> 0 </reserved3>
  209.         <reserved2> 0 </reserved2>
  210.         <reserved1> 0 </reserved1>
  211.         <enabled> <true /> </enabled>
  212.         <rect>
  213.             <left>37</left>
  214.             <top>226</top>
  215.             <right>152</right>
  216.             <bottom>248</bottom>
  217.         </rect>
  218.         <style>shadow</style>
  219.         <showName> <true /> </showName>
  220.         <highlight> <false /> </highlight>
  221.         <autoHighlight> <false /> </autoHighlight>
  222.         <sharedHighlight> <true /> </sharedHighlight>
  223.         <family>0</family>
  224.         <titleWidth>0</titleWidth>
  225.         <icon>0</icon>
  226.         <textAlign>center</textAlign>
  227.         <font>Chicago</font>
  228.         <textSize>12</textSize>
  229.         <textStyle>plain</textStyle>
  230.         <name>Run Example</name>
  231.         <script>on mouseUpPlayQuicKey "QuickReference Card"-- error checking put in for converted QuicKeys owners.  The Installer-- does not convert the name from "Quick reference" to-- "QuickReference Card".  You will have to rename it to make this-- example work.put the result into itif (first char of it = "-") and (second char of it = "1") thenput "Could not find QuickReference Card QuicKey - Check Name" into itend ifcheckerror itend mouseUp</script>
  232.     </part>
  233.     <part>
  234.         <id>13</id>
  235.         <type>button</type>
  236.         <visible> <true /> </visible>
  237.         <reserved5> 0 </reserved5>
  238.         <reserved4> 0 </reserved4>
  239.         <reserved3> 0 </reserved3>
  240.         <reserved2> 0 </reserved2>
  241.         <reserved1> 0 </reserved1>
  242.         <enabled> <true /> </enabled>
  243.         <rect>
  244.             <left>105</left>
  245.             <top>300</top>
  246.             <right>137</right>
  247.             <bottom>331</bottom>
  248.         </rect>
  249.         <style>transparent</style>
  250.         <showName> <false /> </showName>
  251.         <highlight> <false /> </highlight>
  252.         <autoHighlight> <false /> </autoHighlight>
  253.         <sharedHighlight> <true /> </sharedHighlight>
  254.         <family>0</family>
  255.         <titleWidth>0</titleWidth>
  256.         <icon>20098</icon>
  257.         <textAlign>center</textAlign>
  258.         <font>Chicago</font>
  259.         <textSize>12</textSize>
  260.         <textStyle>plain</textStyle>
  261.         <name>Home</name>
  262.         <script>on mouseUpdomenu "Home"end mouseUp</script>
  263.     </part>
  264.     <part>
  265.         <id>14</id>
  266.         <type>button</type>
  267.         <visible> <true /> </visible>
  268.         <reserved5> 0 </reserved5>
  269.         <reserved4> 0 </reserved4>
  270.         <reserved3> 0 </reserved3>
  271.         <reserved2> 0 </reserved2>
  272.         <reserved1> 0 </reserved1>
  273.         <enabled> <true /> </enabled>
  274.         <rect>
  275.             <left>37</left>
  276.             <top>250</top>
  277.             <right>152</right>
  278.             <bottom>272</bottom>
  279.         </rect>
  280.         <style>shadow</style>
  281.         <showName> <true /> </showName>
  282.         <highlight> <false /> </highlight>
  283.         <autoHighlight> <false /> </autoHighlight>
  284.         <sharedHighlight> <true /> </sharedHighlight>
  285.         <family>0</family>
  286.         <titleWidth>0</titleWidth>
  287.         <icon>0</icon>
  288.         <textAlign>center</textAlign>
  289.         <font>Chicago</font>
  290.         <textSize>12</textSize>
  291.         <textStyle>plain</textStyle>
  292.         <name>Error Checking</name>
  293.         <script>on mouseuplock screenset scroll of card field "Error Checking" to 0hide card field "Syntax"hide card field "Example Script"hide card button "Run Example"show card field "Error Checking"show card button "Run Error"lock screenend mouseup</script>
  294.     </part>
  295.     <part>
  296.         <id>15</id>
  297.         <type>field</type>
  298.         <visible> <false /> </visible>
  299.         <dontWrap> <false /> </dontWrap>
  300.         <dontSearch> <false /> </dontSearch>
  301.         <sharedText> <false /> </sharedText>
  302.         <fixedLineHeight> <true /> </fixedLineHeight>
  303.         <autoTab> <false /> </autoTab>
  304.         <lockText> <true /> </lockText>
  305.         <rect>
  306.             <left>200</left>
  307.             <top>90</top>
  308.             <right>501</right>
  309.             <bottom>272</bottom>
  310.         </rect>
  311.         <style>scrolling</style>
  312.         <autoSelect> <false /> </autoSelect>
  313.         <showLines> <false /> </showLines>
  314.         <wideMargins> <false /> </wideMargins>
  315.         <multipleLines> <false /> </multipleLines>
  316.         <reservedFamily> 0 </reservedFamily>
  317.         <titleWidth>0</titleWidth>
  318.         <icon>0</icon>
  319.         <textAlign>left</textAlign>
  320.         <font>Geneva</font>
  321.         <textSize>9</textSize>
  322.         <textStyle>plain</textStyle>
  323.         <textHeight>12</textHeight>
  324.         <name>Error Checking</name>
  325.         <script>on mouseuplock screenhide mehide card button "Run Error"unlock screenend mouseup</script>
  326.     </part>
  327.     <part>
  328.         <id>16</id>
  329.         <type>button</type>
  330.         <visible> <false /> </visible>
  331.         <reserved5> 0 </reserved5>
  332.         <reserved4> 0 </reserved4>
  333.         <reserved3> 0 </reserved3>
  334.         <reserved2> 0 </reserved2>
  335.         <reserved1> 0 </reserved1>
  336.         <enabled> <true /> </enabled>
  337.         <rect>
  338.             <left>37</left>
  339.             <top>250</top>
  340.             <right>152</right>
  341.             <bottom>272</bottom>
  342.         </rect>
  343.         <style>shadow</style>
  344.         <showName> <true /> </showName>
  345.         <highlight> <false /> </highlight>
  346.         <autoHighlight> <false /> </autoHighlight>
  347.         <sharedHighlight> <true /> </sharedHighlight>
  348.         <family>0</family>
  349.         <titleWidth>0</titleWidth>
  350.         <icon>0</icon>
  351.         <textAlign>center</textAlign>
  352.         <font>Chicago</font>
  353.         <textSize>12</textSize>
  354.         <textStyle>plain</textStyle>
  355.         <name>Run Error</name>
  356.         <script>on mouseUpPlayQuicKey "ChrisWallace"put the result into itif (first char of it = "-") and (second char of it = "1") thenput "QuicKey not found" into itend ifcheckerror itend mouseUp</script>
  357.     </part>
  358.     <part>
  359.         <id>17</id>
  360.         <type>field</type>
  361.         <visible> <true /> </visible>
  362.         <dontWrap> <false /> </dontWrap>
  363.         <dontSearch> <false /> </dontSearch>
  364.         <sharedText> <false /> </sharedText>
  365.         <fixedLineHeight> <true /> </fixedLineHeight>
  366.         <autoTab> <false /> </autoTab>
  367.         <lockText> <true /> </lockText>
  368.         <rect>
  369.             <left>427</left>
  370.             <top>28</top>
  371.             <right>504</right>
  372.             <bottom>45</bottom>
  373.         </rect>
  374.         <style>transparent</style>
  375.         <autoSelect> <false /> </autoSelect>
  376.         <showLines> <false /> </showLines>
  377.         <wideMargins> <false /> </wideMargins>
  378.         <multipleLines> <false /> </multipleLines>
  379.         <reservedFamily> 0 </reservedFamily>
  380.         <titleWidth>0</titleWidth>
  381.         <icon>0</icon>
  382.         <textAlign>right</textAlign>
  383.         <font>Chicago</font>
  384.         <textSize>12</textSize>
  385.         <textStyle>plain</textStyle>
  386.         <textHeight>16</textHeight>
  387.         <name>Ver. #</name>
  388.         <script>on mouseupif the optionkey is downthenask "Enter the new date" with "By Chris Wallace"if it is not empty thenput it into card field "Ver. #"end ifshow card field "Version"end ifif the optionkey is not downthenshow card field "Version"wait 60 tickshide card field "Version"end ifend mouseup</script>
  389.     </part>
  390.     <part>
  391.         <id>18</id>
  392.         <type>button</type>
  393.         <visible> <true /> </visible>
  394.         <reserved5> 0 </reserved5>
  395.         <reserved4> 0 </reserved4>
  396.         <reserved3> 0 </reserved3>
  397.         <reserved2> 0 </reserved2>
  398.         <reserved1> 0 </reserved1>
  399.         <enabled> <true /> </enabled>
  400.         <rect>
  401.             <left>0</left>
  402.             <top>28</top>
  403.             <right>249</right>
  404.             <bottom>56</bottom>
  405.         </rect>
  406.         <style>transparent</style>
  407.         <showName> <false /> </showName>
  408.         <highlight> <false /> </highlight>
  409.         <autoHighlight> <false /> </autoHighlight>
  410.         <sharedHighlight> <true /> </sharedHighlight>
  411.         <family>0</family>
  412.         <titleWidth>0</titleWidth>
  413.         <icon>0</icon>
  414.         <textAlign>center</textAlign>
  415.         <font>Chicago</font>
  416.         <textSize>12</textSize>
  417.         <textStyle>plain</textStyle>
  418.         <name></name>
  419.         <script>on mouseUpif the optionkey is downthenshow messageput "Thanks to everyone on AppleLink & Project Knight Stand - Chris" into messageend ifif the commandkey is downthenput "Bye!" into messagehide messageend ifend mouseUp</script>
  420.     </part>
  421.     <part>
  422.         <id>19</id>
  423.         <type>field</type>
  424.         <visible> <false /> </visible>
  425.         <dontWrap> <false /> </dontWrap>
  426.         <dontSearch> <false /> </dontSearch>
  427.         <sharedText> <false /> </sharedText>
  428.         <fixedLineHeight> <true /> </fixedLineHeight>
  429.         <autoTab> <false /> </autoTab>
  430.         <lockText> <true /> </lockText>
  431.         <rect>
  432.             <left>427</left>
  433.             <top>28</top>
  434.             <right>504</right>
  435.             <bottom>45</bottom>
  436.         </rect>
  437.         <style>opaque</style>
  438.         <autoSelect> <false /> </autoSelect>
  439.         <showLines> <false /> </showLines>
  440.         <wideMargins> <false /> </wideMargins>
  441.         <multipleLines> <false /> </multipleLines>
  442.         <reservedFamily> 0 </reservedFamily>
  443.         <titleWidth>0</titleWidth>
  444.         <icon>0</icon>
  445.         <textAlign>right</textAlign>
  446.         <font>Chicago</font>
  447.         <textSize>12</textSize>
  448.         <textStyle>plain</textStyle>
  449.         <textHeight>16</textHeight>
  450.         <name>Version</name>
  451.         <script>on mouseupif the optionkey is downthenask "Enter the new version" with "By Chris Wallace"if it is not empty thenput it into card field "Version"end ifend ifhide meend mouseup</script>
  452.     </part>
  453.     <content>
  454.         <layer>card</layer>
  455.         <id>8</id>
  456.         <text>About the Play QuicKeys 2 XCMDThis stack contains an XCMD that will play QuicKeys 2‚Ñ¢macros and sequences from any Hypercard stack.Use ResCopy or ResEdit to copy it to your stack.There is no charge for distributing this XCMD with public domain or commercial products.  If you are using this XCMD in a product please drop us a note telling us that you are doing this.  If the XCMD changes, you will be one of the first to know.  This stack may be freely distributed as long as it is not modified in any way.If you would like to comment on or need to ask a question regarding QuicKeys 2, send an E-mail message containing your name, company, title, mailing address, daytime phone number, and electronic address to us at one of these electronic addresses.America OnLine:  CESOFTWAREAppleLink:           CESOFTWAREConnect:              CESOFTWARECompuserve:       76136, 2137GEnie:                 CESOFTWAREFAX:                   515-224-4534MCI Mail:            CESOFTWAREQuickMail:           515-224-1721The first line of the body of your E-mail message should read:ATTN: QuicKeys DSIf you do not use electronic services, write to us at:CE Software, Inc.P.O. Box 65580West Des Moines, IA  50265Attn:  QuicKeys DS(515) 224-1995</text>
  457.     </content>
  458.     <content>
  459.         <layer>card</layer>
  460.         <id>9</id>
  461.         <text>QuicKeys 2 XCMD SytnaxTo play a QuicKeys 2 macro or sequence from HyperCard add this line into any script:  PlayQuicKey "QuicKey Name"Notes:‚Ä¢ The "QuicKey Name" is not case sensitive.‚Ä¢ The XCMD can play QuicKeys from both the Universal and the HyperCard set.  If there are two QuicKeys that have the same name, the HyperCard QuicKey will play.‚Ä¢ If you have two QuicKeys with the same name in the same set, there is no way to tell which one it will pick.  You should  use different names to be sure the XCMD will play the QuicKey that you wanted.  </text>
  462.     </content>
  463.     <content>
  464.         <layer>card</layer>
  465.         <id>11</id>
  466.         <text>About the Example Script ButtonThe example script will bring up the QuicKeys 2 Quick Reference Card.  To run this script, click on the "Run Example" button to the left of this field.-- The actual script followson mouseUp  PlayQuicKey "QuickReference Card"end mouseUp</text>
  467.     </content>
  468.     <content>
  469.         <layer>card</layer>
  470.         <id>15</id>
  471.         <text>About Error CheckingError checking can be added as a convenience to the user by adding the following script after the PlayQuicKey command:  put the result into it  if (first char of it = "-") and (second char of it = "1") then    put "QuicKey not found" into it  end if  checkerror itThis error checking requires the ErrorDialog XCMD contained in this stack and the following script in the stack info of your stack:on checkerror theerror  if first char of theerror <> "0"  then    set cursor to "Arrow"    errordialog theerror  end ifend checkerror To run this example error, click on the "Run Error" button at the left of this field.An full example script of this can be found by editing the        "Run Error" button to the left of this field.If this error checking is not added and the XCMD cannot find the key, it returns to the stack without reporting an error.  </text>
  472.     </content>
  473.     <content>
  474.         <layer>card</layer>
  475.         <id>17</id>
  476.         <text>90/10/23</text>
  477.     </content>
  478.     <content>
  479.         <layer>card</layer>
  480.         <id>19</id>
  481.         <text>v1.0</text>
  482.     </content>
  483.     <name>Play QuicKeys 2 XCMD</name>
  484.     <script></script>
  485. </card>
  486.  
  487.  
  488.